package com.currency.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Api(value = "NewTradeRequest", tags = "下单请求类")
public class NewTradeRequest {
    @ApiModelProperty(value = "用户编号")
    @NotNull
    private String userId;

    @ApiModelProperty(value = "交易类型 1-支付申请  2-提现申请")
    @NotNull
    private Integer tradeType;

    @ApiModelProperty(value = "交易备注")
    @NotNull
    private String tradeRemark;

    @ApiModelProperty(value = "操作金额")
    @NotNull
    private String tradeCoins;

    @ApiModelProperty(value = "金额单位 yuan：元 ; fen : 分 , 默认：分")
    private String coinsType;

    @ApiModelProperty(value = "支付机构编号 0 - 微信  1 - 支付宝  2 - 银联")
    @NotNull
    private Integer agencyId;

    @ApiModelProperty(value = "用户在第三方机构的ID")
    private String thirdId;
}
